﻿using Newtonsoft.Json;

namespace Fadada.FASC.SDK.DotNetCore.Model
{
    public class Doc: Docs
    {
        /// <summary>
        /// 文档fileId。该参数和docTemplateId只能有一个，且必须有一个。
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "docFileId", Required = Required.AllowNull)]
        public string DocFileId  { get; set; }

        /// <summary>
        /// 文档模板ID。
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "docTemplateId", Required = Required.AllowNull)]
        public string DocTemplateId { get; set; }
    }
}